export interface RedisConfig {
  host: string;
  port: number;
  password: string;
  db: number;
}

export interface RedisRetryStrategy {
  (times: number): number | void;
}

export interface RedisOptions extends RedisConfig {
  retryStrategy?: RedisRetryStrategy;
  maxRetriesPerRequest?: number | null;
  enableOfflineQueue?: boolean;
  connectTimeout?: number;
  lazyConnect?: boolean;
}
